/*LICENSE_BEGIN
 * ******************************************************************
 * Copyright 2006 by the Dainamite Robocup-Team at the
 * DAI-Labor, TU-Berlin (www.dai-labor.de)
 * 
 * Members of Dainamite are:
 * Holger Endert
 * Robert Wetzker
 * Thomas Karbe
 * Axel Heßler
 * Philippe Bütter
 * Felix Brossmann
 * 
 * Licensed under the GNU GPL (General Public License) Free Software 
 * License, Version 2. You may use this file only in compliance with 
 * the License. You may obtain a copy of the License at:
 * 
 * http://www.fsf.org/licensing/licenses/gpl.txt
 * ******************************************************************
LICENSE_END*/
/* Generated By:JavaCC: Do not edit this line. CoachParserTokenManager.java */
                           // Robocup Message Parser
package robocup.parser9;
// Infotype for this parser
import robocup.component.infotypes.CoachVisualInfo;
import robocup.component.infotypes.CoachPlayerSayInfo;
import robocup.component.infotypes.Info;
import java.io.StringReader;
import robocup.component.AbstractAgent;

public class CoachParserTokenManager implements CoachParserConstants
{
  public  java.io.PrintStream debugStream = System.out;
  public  void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
private final int jjStopStringLiteralDfa_0(int pos, long active0)
{
   switch (pos)
   {
      case 0:
         if ((active0 & 0x20000000000L) != 0L)
         {
            jjmatchedKind = 34;
            return 15;
         }
         if ((active0 & 0x8040020L) != 0L)
         {
            jjmatchedKind = 46;
            return 19;
         }
         if ((active0 & 0x140000800L) != 0L)
            return 6;
         if ((active0 & 0x2070379a67d0L) != 0L)
         {
            jjmatchedKind = 48;
            return 15;
         }
         if ((active0 & 0x800000000000L) != 0L)
            return 20;
         if ((active0 & 0x1828061900eL) != 0L)
            return 15;
         return -1;
      case 1:
         if ((active0 & 0x22403ff7f7e0L) != 0L)
         {
            if (jjmatchedPos != 1)
            {
               jjmatchedKind = 48;
               jjmatchedPos = 1;
            }
            return 15;
         }
         if ((active0 & 0x40000800L) != 0L)
         {
            if (jjmatchedPos != 1)
            {
               jjmatchedKind = 48;
               jjmatchedPos = 1;
            }
            return 5;
         }
         if ((active0 & 0x3000080010L) != 0L)
            return 15;
         return -1;
      case 2:
         if ((active0 & 0x27067e3ffe0L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 2;
            return 15;
         }
         if ((active0 & 0x200018140000L) != 0L)
            return 15;
         return -1;
      case 3:
         if ((active0 & 0x2306701efa0L) != 0L)
         {
            if (jjmatchedPos != 3)
            {
               jjmatchedKind = 48;
               jjmatchedPos = 3;
            }
            return 15;
         }
         if ((active0 & 0x4000e21040L) != 0L)
            return 15;
         return -1;
      case 4:
         if ((active0 & 0x2304721eb00L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 4;
            return 15;
         }
         if ((active0 & 0x200004a0L) != 0L)
            return 15;
         return -1;
      case 5:
         if ((active0 & 0x20000000000L) != 0L)
            return 15;
         if ((active0 & 0x304721eb00L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 5;
            return 15;
         }
         return -1;
      case 6:
         if ((active0 & 0x300721ea00L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 6;
            return 15;
         }
         if ((active0 & 0x40000100L) != 0L)
            return 15;
         return -1;
      case 7:
         if ((active0 & 0x300721ea00L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 7;
            return 15;
         }
         return -1;
      case 8:
         if ((active0 & 0x800L) != 0L)
            return 15;
         if ((active0 & 0x300721e200L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 8;
            return 15;
         }
         return -1;
      case 9:
         if ((active0 & 0x300301c200L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 9;
            return 15;
         }
         if ((active0 & 0x4202000L) != 0L)
            return 15;
         return -1;
      case 10:
         if ((active0 & 0x300000c200L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 10;
            return 15;
         }
         if ((active0 & 0x3010000L) != 0L)
            return 15;
         return -1;
      case 11:
         if ((active0 & 0xc000L) != 0L)
            return 15;
         if ((active0 & 0x3000000200L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 11;
            return 15;
         }
         return -1;
      case 12:
         if ((active0 & 0x3000000200L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 12;
            return 15;
         }
         return -1;
      case 13:
         if ((active0 & 0x3000000200L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 13;
            return 15;
         }
         return -1;
      case 14:
         if ((active0 & 0x3000000200L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 14;
            return 15;
         }
         return -1;
      case 15:
         if ((active0 & 0x3000000200L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 15;
            return 15;
         }
         return -1;
      case 16:
         if ((active0 & 0x1000000200L) != 0L)
         {
            jjmatchedKind = 48;
            jjmatchedPos = 16;
            return 15;
         }
         if ((active0 & 0x2000000000L) != 0L)
            return 15;
         return -1;
      default :
         return -1;
   }
}
private final int jjStartNfa_0(int pos, long active0)
{
   return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1);
}
private final int jjStopAtPos(int pos, int kind)
{
   jjmatchedKind = kind;
   jjmatchedPos = pos;
   return pos + 1;
}
private final int jjStartNfaWithStates_0(int pos, int kind, int state)
{
   jjmatchedKind = kind;
   jjmatchedPos = pos;
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) { return pos + 1; }
   return jjMoveNfa_0(state, pos + 1);
}
private final int jjMoveStringLiteralDfa0_0()
{
   switch(curChar)
   {
      case 9:
         return jjStartNfaWithStates_0(0, 1, 15);
      case 10:
         return jjStartNfaWithStates_0(0, 2, 15);
      case 13:
         return jjStartNfaWithStates_0(0, 3, 15);
      case 32:
         return jjStopAtPos(0, 44);
      case 34:
         return jjStartNfaWithStates_0(0, 47, 20);
      case 40:
         return jjStopAtPos(0, 42);
      case 41:
         return jjStopAtPos(0, 43);
      case 98:
         return jjStartNfaWithStates_0(0, 39, 15);
      case 99:
         return jjMoveStringLiteralDfa1_0(0x7000280L);
      case 101:
         return jjMoveStringLiteralDfa1_0(0x8040020L);
      case 103:
         return jjMoveStringLiteralDfa1_0(0x20000000000L);
      case 104:
         return jjMoveStringLiteralDfa1_0(0x20000L);
      case 105:
         return jjMoveStringLiteralDfa1_0(0x40L);
      case 108:
         jjmatchedKind = 31;
         return jjMoveStringLiteralDfa1_0(0x1000L);
      case 109:
         return jjMoveStringLiteralDfa1_0(0x800000L);
      case 110:
         return jjMoveStringLiteralDfa1_0(0x200000000000L);
      case 111:
         return jjMoveStringLiteralDfa1_0(0x3000180010L);
      case 112:
         jjmatchedKind = 33;
         return jjMoveStringLiteralDfa1_0(0x18000L);
      case 114:
         jjmatchedKind = 32;
         return jjMoveStringLiteralDfa1_0(0x40000800L);
      case 115:
         return jjMoveStringLiteralDfa1_0(0x4030006400L);
      case 116:
         jjmatchedKind = 40;
         return jjMoveStringLiteralDfa1_0(0x600000L);
      case 119:
         return jjMoveStringLiteralDfa1_0(0x100L);
      default :
         return jjMoveNfa_0(0, 0);
   }
}
private final int jjMoveStringLiteralDfa1_0(long active0)
{
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(0, active0);
      return 1;
   }
   switch(curChar)
   {
      case 97:
         return jjMoveStringLiteralDfa2_0(active0, 0x200018000100L);
      case 99:
         return jjMoveStringLiteralDfa2_0(active0, 0x400L);
      case 101:
         return jjMoveStringLiteralDfa2_0(active0, 0x4040626800L);
      case 102:
         return jjMoveStringLiteralDfa2_0(active0, 0x100000L);
      case 104:
         return jjMoveStringLiteralDfa2_0(active0, 0x5000200L);
      case 107:
         if ((active0 & 0x10L) != 0L)
            return jjStartNfaWithStates_0(1, 4, 15);
         break;
      case 108:
         return jjMoveStringLiteralDfa2_0(active0, 0x18080L);
      case 110:
         if ((active0 & 0x80000L) != 0L)
         {
            jjmatchedKind = 19;
            jjmatchedPos = 1;
         }
         return jjMoveStringLiteralDfa2_0(active0, 0x3000000040L);
      case 111:
         return jjMoveStringLiteralDfa2_0(active0, 0x20002801000L);
      case 114:
         return jjMoveStringLiteralDfa2_0(active0, 0x20L);
      case 116:
         return jjMoveStringLiteralDfa2_0(active0, 0x20000000L);
      case 121:
         return jjMoveStringLiteralDfa2_0(active0, 0x40000L);
      default :
         break;
   }
   return jjStartNfa_0(0, active0);
}
private final int jjMoveStringLiteralDfa2_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(0, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(1, active0);
      return 2;
   }
   switch(curChar)
   {
      case 97:
         return jjMoveStringLiteralDfa3_0(active0, 0x20025638280L);
      case 99:
         return jjMoveStringLiteralDfa3_0(active0, 0x40000800L);
      case 101:
         if ((active0 & 0x40000L) != 0L)
            return jjStartNfaWithStates_0(2, 18, 15);
         return jjMoveStringLiteralDfa3_0(active0, 0x2000L);
      case 102:
         if ((active0 & 0x100000L) != 0L)
            return jjStartNfaWithStates_0(2, 20, 15);
         break;
      case 105:
         return jjMoveStringLiteralDfa3_0(active0, 0x40L);
      case 108:
         return jjMoveStringLiteralDfa3_0(active0, 0x7000000000L);
      case 109:
         return jjMoveStringLiteralDfa3_0(active0, 0x2000000L);
      case 110:
         if ((active0 & 0x200000000000L) != 0L)
            return jjStartNfaWithStates_0(2, 45, 15);
         break;
      case 111:
         return jjMoveStringLiteralDfa3_0(active0, 0x1400L);
      case 114:
         if ((active0 & 0x8000000L) != 0L)
            return jjStartNfaWithStates_0(2, 27, 15);
         return jjMoveStringLiteralDfa3_0(active0, 0x4120L);
      case 118:
         return jjMoveStringLiteralDfa3_0(active0, 0x800000L);
      case 121:
         if ((active0 & 0x10000000L) != 0L)
            return jjStartNfaWithStates_0(2, 28, 15);
         break;
      default :
         break;
   }
   return jjStartNfa_0(1, active0);
}
private final int jjMoveStringLiteralDfa3_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(1, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(2, active0);
      return 3;
   }
   switch(curChar)
   {
      case 95:
         return jjMoveStringLiteralDfa4_0(active0, 0x2000L);
      case 99:
         return jjMoveStringLiteralDfa4_0(active0, 0x4000000L);
      case 101:
         if ((active0 & 0x800000L) != 0L)
            return jjStartNfaWithStates_0(3, 23, 15);
         break;
      case 102:
         if ((active0 & 0x4000000000L) != 0L)
            return jjStartNfaWithStates_0(3, 38, 15);
         break;
      case 105:
         return jjMoveStringLiteralDfa4_0(active0, 0x3000000000L);
      case 107:
         if ((active0 & 0x1000L) != 0L)
            return jjStartNfaWithStates_0(3, 12, 15);
         break;
      case 108:
         return jjMoveStringLiteralDfa4_0(active0, 0x20000000000L);
      case 109:
         if ((active0 & 0x400000L) != 0L)
         {
            jjmatchedKind = 22;
            jjmatchedPos = 3;
         }
         return jjMoveStringLiteralDfa4_0(active0, 0x200000L);
      case 110:
         return jjMoveStringLiteralDfa4_0(active0, 0x1000380L);
      case 111:
         return jjMoveStringLiteralDfa4_0(active0, 0x40000820L);
      case 112:
         return jjMoveStringLiteralDfa4_0(active0, 0x2000000L);
      case 114:
         if ((active0 & 0x20000L) != 0L)
            return jjStartNfaWithStates_0(3, 17, 15);
         return jjMoveStringLiteralDfa4_0(active0, 0x20000400L);
      case 116:
         if ((active0 & 0x40L) != 0L)
            return jjStartNfaWithStates_0(3, 6, 15);
         break;
      case 118:
         return jjMoveStringLiteralDfa4_0(active0, 0x4000L);
      case 121:
         return jjMoveStringLiteralDfa4_0(active0, 0x18000L);
      default :
         break;
   }
   return jjStartNfa_0(2, active0);
}
private final int jjMoveStringLiteralDfa4_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(2, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(3, active0);
      return 4;
   }
   switch(curChar)
   {
      case 95:
         return jjMoveStringLiteralDfa5_0(active0, 0x200000L);
      case 101:
         if ((active0 & 0x400L) != 0L)
            return jjStartNfaWithStates_0(4, 10, 15);
         return jjMoveStringLiteralDfa5_0(active0, 0x1c000L);
      case 103:
         if ((active0 & 0x80L) != 0L)
            return jjStartNfaWithStates_0(4, 7, 15);
         return jjMoveStringLiteralDfa5_0(active0, 0x1002200L);
      case 105:
         return jjMoveStringLiteralDfa5_0(active0, 0x20000000100L);
      case 107:
         return jjMoveStringLiteralDfa5_0(active0, 0x4000000L);
      case 110:
         return jjMoveStringLiteralDfa5_0(active0, 0x3000000800L);
      case 114:
         if ((active0 & 0x20L) != 0L)
            return jjStartNfaWithStates_0(4, 5, 15);
         return jjMoveStringLiteralDfa5_0(active0, 0x2000000L);
      case 116:
         if ((active0 & 0x20000000L) != 0L)
            return jjStartNfaWithStates_0(4, 29, 15);
         break;
      case 118:
         return jjMoveStringLiteralDfa5_0(active0, 0x40000000L);
      default :
         break;
   }
   return jjStartNfa_0(3, active0);
}
private final int jjMoveStringLiteralDfa5_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(3, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(4, active0);
      return 5;
   }
   switch(curChar)
   {
      case 95:
         return jjMoveStringLiteralDfa6_0(active0, 0x4000000L);
      case 101:
         if ((active0 & 0x20000000000L) != 0L)
            return jjStartNfaWithStates_0(5, 41, 15);
         return jjMoveStringLiteralDfa6_0(active0, 0x3043000200L);
      case 108:
         return jjMoveStringLiteralDfa6_0(active0, 0x2000L);
      case 110:
         return jjMoveStringLiteralDfa6_0(active0, 0x200900L);
      case 114:
         return jjMoveStringLiteralDfa6_0(active0, 0x1c000L);
      default :
         break;
   }
   return jjStartNfa_0(4, active0);
}
private final int jjMoveStringLiteralDfa6_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(4, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(5, active0);
      return 6;
   }
   switch(curChar)
   {
      case 95:
         return jjMoveStringLiteralDfa7_0(active0, 0x300101c200L);
      case 97:
         return jjMoveStringLiteralDfa7_0(active0, 0x200000L);
      case 98:
         return jjMoveStringLiteralDfa7_0(active0, 0x4000000L);
      case 101:
         return jjMoveStringLiteralDfa7_0(active0, 0x800L);
      case 103:
         if ((active0 & 0x100L) != 0L)
            return jjStartNfaWithStates_0(6, 8, 15);
         break;
      case 111:
         return jjMoveStringLiteralDfa7_0(active0, 0x2000L);
      case 114:
         if ((active0 & 0x40000000L) != 0L)
            return jjStartNfaWithStates_0(6, 30, 15);
         break;
      case 115:
         return jjMoveStringLiteralDfa7_0(active0, 0x2000000L);
      default :
         break;
   }
   return jjStartNfa_0(5, active0);
}
private final int jjMoveStringLiteralDfa7_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(5, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(6, active0);
      return 7;
   }
   switch(curChar)
   {
      case 97:
         return jjMoveStringLiteralDfa8_0(active0, 0x4000000L);
      case 98:
         return jjMoveStringLiteralDfa8_0(active0, 0x2000L);
      case 99:
         return jjMoveStringLiteralDfa8_0(active0, 0x3000000800L);
      case 109:
         return jjMoveStringLiteralDfa8_0(active0, 0x1200000L);
      case 112:
         return jjMoveStringLiteralDfa8_0(active0, 0xc200L);
      case 115:
         return jjMoveStringLiteralDfa8_0(active0, 0x2000000L);
      case 116:
         return jjMoveStringLiteralDfa8_0(active0, 0x10000L);
      default :
         break;
   }
   return jjStartNfa_0(6, active0);
}
private final int jjMoveStringLiteralDfa8_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(6, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(7, active0);
      return 8;
   }
   switch(curChar)
   {
      case 97:
         return jjMoveStringLiteralDfa9_0(active0, 0xe000L);
      case 101:
         return jjMoveStringLiteralDfa9_0(active0, 0x200000L);
      case 105:
         return jjMoveStringLiteralDfa9_0(active0, 0x2000000L);
      case 108:
         return jjMoveStringLiteralDfa9_0(active0, 0x4000200L);
      case 111:
         return jjMoveStringLiteralDfa9_0(active0, 0x3001000000L);
      case 116:
         if ((active0 & 0x800L) != 0L)
            return jjStartNfaWithStates_0(8, 11, 15);
         break;
      case 121:
         return jjMoveStringLiteralDfa9_0(active0, 0x10000L);
      default :
         break;
   }
   return jjStartNfa_0(7, active0);
}
private final int jjMoveStringLiteralDfa9_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(7, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(8, active0);
      return 9;
   }
   switch(curChar)
   {
      case 97:
         return jjMoveStringLiteralDfa10_0(active0, 0x3000000200L);
      case 100:
         return jjMoveStringLiteralDfa10_0(active0, 0x1000000L);
      case 108:
         if ((active0 & 0x2000L) != 0L)
            return jjStartNfaWithStates_0(9, 13, 15);
         else if ((active0 & 0x4000000L) != 0L)
            return jjStartNfaWithStates_0(9, 26, 15);
         break;
      case 111:
         return jjMoveStringLiteralDfa10_0(active0, 0x2000000L);
      case 112:
         return jjMoveStringLiteralDfa10_0(active0, 0x10000L);
      case 114:
         return jjMoveStringLiteralDfa10_0(active0, 0xc000L);
      case 115:
         if ((active0 & 0x200000L) != 0L)
            return jjStartNfaWithStates_0(9, 21, 15);
         break;
      default :
         break;
   }
   return jjStartNfa_0(8, active0);
}
private final int jjMoveStringLiteralDfa10_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(8, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(9, active0);
      return 10;
   }
   switch(curChar)
   {
      case 97:
         return jjMoveStringLiteralDfa11_0(active0, 0xc000L);
      case 99:
         return jjMoveStringLiteralDfa11_0(active0, 0x3000000000L);
      case 101:
         if ((active0 & 0x10000L) != 0L)
            return jjStartNfaWithStates_0(10, 16, 15);
         else if ((active0 & 0x1000000L) != 0L)
            return jjStartNfaWithStates_0(10, 24, 15);
         break;
      case 110:
         if ((active0 & 0x2000000L) != 0L)
            return jjStartNfaWithStates_0(10, 25, 15);
         break;
      case 121:
         return jjMoveStringLiteralDfa11_0(active0, 0x200L);
      default :
         break;
   }
   return jjStartNfa_0(9, active0);
}
private final int jjMoveStringLiteralDfa11_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(9, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(10, active0);
      return 11;
   }
   switch(curChar)
   {
      case 101:
         return jjMoveStringLiteralDfa12_0(active0, 0x200L);
      case 104:
         return jjMoveStringLiteralDfa12_0(active0, 0x3000000000L);
      case 109:
         if ((active0 & 0x4000L) != 0L)
            return jjStartNfaWithStates_0(11, 14, 15);
         else if ((active0 & 0x8000L) != 0L)
            return jjStartNfaWithStates_0(11, 15, 15);
         break;
      default :
         break;
   }
   return jjStartNfa_0(10, active0);
}
private final int jjMoveStringLiteralDfa12_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(10, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(11, active0);
      return 12;
   }
   switch(curChar)
   {
      case 95:
         return jjMoveStringLiteralDfa13_0(active0, 0x3000000000L);
      case 114:
         return jjMoveStringLiteralDfa13_0(active0, 0x200L);
      default :
         break;
   }
   return jjStartNfa_0(11, active0);
}
private final int jjMoveStringLiteralDfa13_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(11, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(12, active0);
      return 13;
   }
   switch(curChar)
   {
      case 95:
         return jjMoveStringLiteralDfa14_0(active0, 0x200L);
      case 108:
         return jjMoveStringLiteralDfa14_0(active0, 0x2000000000L);
      case 114:
         return jjMoveStringLiteralDfa14_0(active0, 0x1000000000L);
      default :
         break;
   }
   return jjStartNfa_0(12, active0);
}
private final int jjMoveStringLiteralDfa14_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(12, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(13, active0);
      return 14;
   }
   switch(curChar)
   {
      case 101:
         return jjMoveStringLiteralDfa15_0(active0, 0x2000000000L);
      case 105:
         return jjMoveStringLiteralDfa15_0(active0, 0x1000000000L);
      case 116:
         return jjMoveStringLiteralDfa15_0(active0, 0x200L);
      default :
         break;
   }
   return jjStartNfa_0(13, active0);
}
private final int jjMoveStringLiteralDfa15_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(13, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(14, active0);
      return 15;
   }
   switch(curChar)
   {
      case 102:
         return jjMoveStringLiteralDfa16_0(active0, 0x2000000000L);
      case 103:
         return jjMoveStringLiteralDfa16_0(active0, 0x1000000000L);
      case 121:
         return jjMoveStringLiteralDfa16_0(active0, 0x200L);
      default :
         break;
   }
   return jjStartNfa_0(14, active0);
}
private final int jjMoveStringLiteralDfa16_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(14, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(15, active0);
      return 16;
   }
   switch(curChar)
   {
      case 104:
         return jjMoveStringLiteralDfa17_0(active0, 0x1000000000L);
      case 112:
         return jjMoveStringLiteralDfa17_0(active0, 0x200L);
      case 116:
         if ((active0 & 0x2000000000L) != 0L)
            return jjStartNfaWithStates_0(16, 37, 15);
         break;
      default :
         break;
   }
   return jjStartNfa_0(15, active0);
}
private final int jjMoveStringLiteralDfa17_0(long old0, long active0)
{
   if (((active0 &= old0)) == 0L)
      return jjStartNfa_0(15, old0); 
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(16, active0);
      return 17;
   }
   switch(curChar)
   {
      case 101:
         if ((active0 & 0x200L) != 0L)
            return jjStartNfaWithStates_0(17, 9, 15);
         break;
      case 116:
         if ((active0 & 0x1000000000L) != 0L)
            return jjStartNfaWithStates_0(17, 36, 15);
         break;
      default :
         break;
   }
   return jjStartNfa_0(16, active0);
}
private final void jjCheckNAdd(int state)
{
   if (jjrounds[state] != jjround)
   {
      jjstateSet[jjnewStateCnt++] = state;
      jjrounds[state] = jjround;
   }
}
private final void jjAddStates(int start, int end)
{
   do {
      jjstateSet[jjnewStateCnt++] = jjnextStates[start];
   } while (start++ != end);
}
private final void jjCheckNAddTwoStates(int state1, int state2)
{
   jjCheckNAdd(state1);
   jjCheckNAdd(state2);
}
private final void jjCheckNAddStates(int start, int end)
{
   do {
      jjCheckNAdd(jjnextStates[start]);
   } while (start++ != end);
}
private final void jjCheckNAddStates(int start)
{
   jjCheckNAdd(jjnextStates[start]);
   jjCheckNAdd(jjnextStates[start + 1]);
}
static final long[] jjbitVec0 = {
   0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
};
private final int jjMoveNfa_0(int startState, int curPos)
{
   int[] nextStates;
   int startsAt = 0;
   jjnewStateCnt = 19;
   int i = 1;
   jjstateSet[0] = startState;
   int j, kind = 0x7fffffff;
   for (;;)
   {
      if (++jjround == 0x7fffffff)
         ReInitRounds();
      if (curChar < 64)
      {
         long l = 1L << curChar;
         MatchLoop: do
         {
            switch(jjstateSet[--i])
            {
               case 6:
               case 15:
                  if ((0xfffffcfaffffffffL & l) == 0L)
                     break;
                  if (kind > 48)
                     kind = 48;
                  jjCheckNAdd(15);
                  break;
               case 5:
                  if ((0xfffffcfaffffffffL & l) == 0L)
                     break;
                  if (kind > 48)
                     kind = 48;
                  jjCheckNAdd(15);
                  break;
               case 0:
                  if ((0xfffffcfaffffffffL & l) != 0L)
                  {
                     if (kind > 48)
                        kind = 48;
                     jjCheckNAdd(15);
                  }
                  else if (curChar == 34)
                     jjCheckNAddTwoStates(17, 18);
                  if ((0x3ff600000000000L & l) != 0L)
                  {
                     if (kind > 46)
                        kind = 46;
                     jjCheckNAdd(14);
                  }
                  break;
               case 20:
                  if ((0xfffffffbffffdbffL & l) != 0L)
                     jjCheckNAddTwoStates(17, 18);
                  else if (curChar == 34)
                  {
                     if (kind > 49)
                        kind = 49;
                  }
                  break;
               case 19:
                  if ((0xfffffcfaffffffffL & l) != 0L)
                  {
                     if (kind > 48)
                        kind = 48;
                     jjCheckNAdd(15);
                  }
                  if ((0x3ff600000000000L & l) != 0L)
                  {
                     if (kind > 46)
                        kind = 46;
                     jjCheckNAdd(14);
                  }
                  break;
               case 14:
                  if ((0x3ff600000000000L & l) == 0L)
                     break;
                  if (kind > 46)
                     kind = 46;
                  jjCheckNAdd(14);
                  break;
               case 16:
                  if (curChar == 34)
                     jjCheckNAddTwoStates(17, 18);
                  break;
               case 17:
                  if ((0xfffffffbffffdbffL & l) != 0L)
                     jjCheckNAddTwoStates(17, 18);
                  break;
               case 18:
                  if (curChar == 34 && kind > 49)
                     kind = 49;
                  break;
               default : break;
            }
         } while(i != startsAt);
      }
      else if (curChar < 128)
      {
         long l = 1L << (curChar & 077);
         MatchLoop: do
         {
            switch(jjstateSet[--i])
            {
               case 6:
                  if (kind > 48)
                     kind = 48;
                  jjCheckNAdd(15);
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 5;
                  break;
               case 5:
                  if (kind > 48)
                     kind = 48;
                  jjCheckNAdd(15);
                  if (curChar == 102)
                     jjstateSet[jjnewStateCnt++] = 4;
                  break;
               case 0:
                  if (kind > 48)
                     kind = 48;
                  jjCheckNAdd(15);
                  if ((0x8000000080L & l) != 0L)
                  {
                     if (kind > 34)
                        kind = 34;
                  }
                  else if (curChar == 101)
                  {
                     if (kind > 46)
                        kind = 46;
                     jjCheckNAdd(14);
                  }
                  else if (curChar == 82)
                     jjstateSet[jjnewStateCnt++] = 12;
                  else if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 6;
                  break;
               case 20:
               case 17:
                  jjCheckNAddTwoStates(17, 18);
                  break;
               case 19:
                  if (kind > 48)
                     kind = 48;
                  jjCheckNAdd(15);
                  if (curChar == 101)
                  {
                     if (kind > 46)
                        kind = 46;
                     jjCheckNAdd(14);
                  }
                  break;
               case 1:
                  if (curChar == 101 && kind > 35)
                     kind = 35;
                  break;
               case 2:
               case 8:
                  if (curChar == 101)
                     jjCheckNAdd(1);
                  break;
               case 3:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 2;
                  break;
               case 4:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 3;
                  break;
               case 7:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 6;
                  break;
               case 9:
                  if (curChar == 114)
                     jjstateSet[jjnewStateCnt++] = 8;
                  break;
               case 10:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 9;
                  break;
               case 11:
                  if (curChar == 102)
                     jjstateSet[jjnewStateCnt++] = 10;
                  break;
               case 12:
                  if (curChar == 101)
                     jjstateSet[jjnewStateCnt++] = 11;
                  break;
               case 13:
                  if (curChar == 82)
                     jjstateSet[jjnewStateCnt++] = 12;
                  break;
               case 14:
                  if (curChar != 101)
                     break;
                  if (kind > 46)
                     kind = 46;
                  jjCheckNAdd(14);
                  break;
               case 15:
                  if (kind > 48)
                     kind = 48;
                  jjCheckNAdd(15);
                  break;
               default : break;
            }
         } while(i != startsAt);
      }
      else
      {
         int i2 = (curChar & 0xff) >> 6;
         long l2 = 1L << (curChar & 077);
         MatchLoop: do
         {
            switch(jjstateSet[--i])
            {
               case 6:
               case 15:
                  if ((jjbitVec0[i2] & l2) == 0L)
                     break;
                  if (kind > 48)
                     kind = 48;
                  jjCheckNAdd(15);
                  break;
               case 5:
                  if ((jjbitVec0[i2] & l2) == 0L)
                     break;
                  if (kind > 48)
                     kind = 48;
                  jjCheckNAdd(15);
                  break;
               case 0:
                  if ((jjbitVec0[i2] & l2) == 0L)
                     break;
                  if (kind > 48)
                     kind = 48;
                  jjCheckNAdd(15);
                  break;
               case 20:
               case 17:
                  if ((jjbitVec0[i2] & l2) != 0L)
                     jjCheckNAddTwoStates(17, 18);
                  break;
               case 19:
                  if ((jjbitVec0[i2] & l2) == 0L)
                     break;
                  if (kind > 48)
                     kind = 48;
                  jjCheckNAdd(15);
                  break;
               default : break;
            }
         } while(i != startsAt);
      }
      if (kind != 0x7fffffff)
      {
         jjmatchedKind = kind;
         jjmatchedPos = curPos;
         kind = 0x7fffffff;
      }
      ++curPos;
      if ((i = jjnewStateCnt) == (startsAt = 19 - (jjnewStateCnt = startsAt)))
         return curPos;
      try { curChar = input_stream.readChar(); }
      catch(java.io.IOException e) { return curPos; }
   }
}
static final int[] jjnextStates = {
};
public static final String[] jjstrLiteralImages = {
"", null, null, null, "\157\153", "\145\162\162\157\162", "\151\156\151\164", 
"\143\154\141\156\147", "\167\141\162\156\151\156\147", 
"\143\150\141\156\147\145\137\160\154\141\171\145\162\137\164\171\160\145", "\163\143\157\162\145", "\162\145\143\157\156\156\145\143\164", 
"\154\157\157\153", "\163\145\145\137\147\154\157\142\141\154", 
"\163\145\162\166\145\162\137\160\141\162\141\155", "\160\154\141\171\145\162\137\160\141\162\141\155", 
"\160\154\141\171\145\162\137\164\171\160\145", "\150\145\141\162", "\145\171\145", "\157\156", "\157\146\146", 
"\164\145\141\155\137\156\141\155\145\163", "\164\145\141\155", "\155\157\166\145", 
"\143\150\141\156\147\145\137\155\157\144\145", "\143\157\155\160\162\145\163\163\151\157\156", 
"\143\150\141\143\153\137\142\141\154\154", "\145\141\162", "\163\141\171", "\163\164\141\162\164", 
"\162\145\143\157\166\145\162", "\154", "\162", "\160", null, null, 
"\157\156\154\151\156\145\137\143\157\141\143\150\137\162\151\147\150\164", "\157\156\154\151\156\145\137\143\157\141\143\150\137\154\145\146\164", 
"\163\145\154\146", "\142", "\164", "\147\157\141\154\151\145", "\50", "\51", "\40", 
"\156\141\156", null, "\42", null, null, };
public static final String[] lexStateNames = {
   "DEFAULT", 
};
static final long[] jjtoToken = {
   0x3fffffffffff1L, 
};
static final long[] jjtoSkip = {
   0xeL, 
};
protected SimpleCharStream input_stream;
private final int[] jjrounds = new int[19];
private final int[] jjstateSet = new int[38];
protected char curChar;
public CoachParserTokenManager(SimpleCharStream stream)
{
   if (SimpleCharStream.staticFlag)
      throw new Error("ERROR: Cannot use a static CharStream class with a non-static lexical analyzer.");
   input_stream = stream;
}
public CoachParserTokenManager(SimpleCharStream stream, int lexState)
{
   this(stream);
   SwitchTo(lexState);
}
public void ReInit(SimpleCharStream stream)
{
   jjmatchedPos = jjnewStateCnt = 0;
   curLexState = defaultLexState;
   input_stream = stream;
   ReInitRounds();
}
private final void ReInitRounds()
{
   int i;
   jjround = 0x80000001;
   for (i = 19; i-- > 0;)
      jjrounds[i] = 0x80000000;
}
public void ReInit(SimpleCharStream stream, int lexState)
{
   ReInit(stream);
   SwitchTo(lexState);
}
public void SwitchTo(int lexState)
{
   if (lexState >= 1 || lexState < 0)
      throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
   else
      curLexState = lexState;
}

protected Token jjFillToken()
{
   Token t = Token.newToken(jjmatchedKind);
   t.kind = jjmatchedKind;
   String im = jjstrLiteralImages[jjmatchedKind];
   t.image = (im == null) ? input_stream.GetImage() : im;
   t.beginLine = input_stream.getBeginLine();
   t.beginColumn = input_stream.getBeginColumn();
   t.endLine = input_stream.getEndLine();
   t.endColumn = input_stream.getEndColumn();
   return t;
}

int curLexState = 0;
int defaultLexState = 0;
int jjnewStateCnt;
int jjround;
int jjmatchedPos;
int jjmatchedKind;

public Token getNextToken() 
{
  int kind;
  Token specialToken = null;
  Token matchedToken;
  int curPos = 0;

  EOFLoop :
  for (;;)
  {   
   try   
   {     
      curChar = input_stream.BeginToken();
   }     
   catch(java.io.IOException e)
   {        
      jjmatchedKind = 0;
      matchedToken = jjFillToken();
      return matchedToken;
   }

   jjmatchedKind = 0x7fffffff;
   jjmatchedPos = 0;
   curPos = jjMoveStringLiteralDfa0_0();
   if (jjmatchedKind != 0x7fffffff)
   {
      if (jjmatchedPos + 1 < curPos)
         input_stream.backup(curPos - jjmatchedPos - 1);
      if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
      {
         matchedToken = jjFillToken();
         return matchedToken;
      }
      else
      {
         continue EOFLoop;
      }
   }
   int error_line = input_stream.getEndLine();
   int error_column = input_stream.getEndColumn();
   String error_after = null;
   boolean EOFSeen = false;
   try { input_stream.readChar(); input_stream.backup(1); }
   catch (java.io.IOException e1) {
      EOFSeen = true;
      error_after = curPos <= 1 ? "" : input_stream.GetImage();
      if (curChar == '\n' || curChar == '\r') {
         error_line++;
         error_column = 0;
      }
      else
         error_column++;
   }
   if (!EOFSeen) {
      input_stream.backup(1);
      error_after = curPos <= 1 ? "" : input_stream.GetImage();
   }
   throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
  }
}

}
